package com.abhinav.designPatterns.builder;

// Integration with overal application
public class Main {
	public static void main(String[] args) {

		MealDirector director = new MealDirector();
		MealBuilder builder = null;
		boolean isKid = true;

		if (isKid) {
			builder = new KidsMealBuilder();
		} else {
			builder = new AdultMealBuilder();
		}
		Meal meal = director.createMeal(builder);
		System.out.println(meal);
	}
}